home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
drcpas10.zip
/
ABSIO.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-11-17
|
833b
|
35 lines
{$A+,B-,D-,E-,F-,I+,L-,N-,O-,R-,S+,V-}
unit absio;
interface
var
(* used by assem. routines *)
dosver,
abserror : word;
(* this should be self explanatory. A: = 0 *)
(* thanks to Ralf Brown for description of Int 25h/26h interface,
which is quoted in absdisk.asm *)
procedure absread (drive : byte; sector : longint;
numsecs : word; var buffer);
procedure abswrite (drive : byte; sector : longint;
numsecs : word; var buffer);
implementation
uses dos;
procedure absread (drive : byte; sector : longint;
numsecs : word; var buffer); external;
procedure abswrite (drive : byte; sector : longint;
numsecs : word; var buffer); external;
{$L absdisk.obj}
begin
abserror := 0;
dosver := dosversion;
end.